public class PaperDemo06 {
    public static void main(String[] args) {
        float f = 0.01f;
        int i = 0;//对折次数
        for (; ; ) {
            i++;
            f = f * 2;// 每次对折
            if (f >= 1) {
                break;
            }
        }
        System.out.println(i);
    }
}
